package com.tocean.demo.entity.questionbank;

import com.tocean.demo.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "t_quest")
public class Question extends BaseEntity {

    /**
     * 题目顺序
     */
    @Column(name = "indexs")
    private int indexs;

    /**
     * 试卷内容
     */
    @Column(name = "content")
    private String content;

    /**
     * 试卷选项
     */
    @Column(name = "answer")
    private String answer;


    /**
     * 试卷标签
     */
    @Column(name = "tag_name")
    private String tag_name;
}
